package com.wn.pettyloan.mapper;

import com.wn.pettyloan.entity.UserQuestion;
import com.wn.pettyloan.vo.QandAVo;

import java.util.List;

/**
* @author mi-xu
* @description 针对表【user_question】的数据库操作Mapper
* @createDate 2022-12-06 13:35:49
* @Entity com.wn.pettyloan.entity.UserQuestion
*/
public interface UserQuestionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserQuestion record);

    int insertSelective(UserQuestion record);

    UserQuestion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserQuestion record);

    int updateByPrimaryKey(UserQuestion record);

    List<QandAVo> selectQuesAndAnswer();
}
